﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DTTB.MV2.QUANLYNHANSUTIENLUONG.Models.LinQ.DanhMuc;
namespace DTTB.MV2.QUANLYNHANSUTIENLUONG.BussinessDelegate.DanhMucDelegate
{
    public class LoaiXeDelegate
    {
        DBDanhMucDataContext _DBDanhMuc = new DBDanhMucDataContext();
        public IList<dm_LoaiXe> GetAllLoaiXe()
        {
            return _DBDanhMuc.dm_LoaiXes.Where(p => p.IsDelete == false || p.IsDelete == null).ToList();
        }
    }
}